﻿@{
    Layout = null;
}

<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="utf-8" />
    <title>仓库管理系统</title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <meta content="仓库管理系统 " name="description" />
    <meta content="仓库管理系统 " name="author" />
    <link href="/Theme/plugins/jbox-v2.3/jBox/Skins/Purple/jbox.css" rel="stylesheet" />
    <link href="/Theme/css/console.css" rel="stylesheet" />
    <link href="/Theme/css/home.css" rel="stylesheet" />
    <style type="text/css">
        body,
        html {
            height: 100%;
            background-image: url('../../Image/login.png');
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center; /* 可选，居中显示背景图片 */
            margin: 0;
            padding: 0;
        }

        .wrapper {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(80%, 10%);
            width: 400px;
            height: 260px;
            background-color: rgba(255, 255, 255, 1);
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .form-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
        }

        .item.user,
        .item.password,
        .item input {
            width: 228px;
            margin-bottom: 20px;
        }

        #login-btn {
            width: 100%;
            max-width: 228px;
            margin-top: 10px;
        }

        footer {
            text-align: center;
            background-color: rgba(0, 0, 0, 0.1);
            padding: 10px;
            position: fixed;
            bottom: 20px; /* 距离底部的距离调整为 20px */
            left: 0;
            width: 100%;
            font-size: 16px; /* 调整字体大小为 16px */
            font-weight: bold; /* 添加粗体样式 */
        }
    </style>
</head>

<body class="modal-ready">
    <div class="wrapper">
        <div class="form-container">
            <input type="text" id="input-username" name="input-username" value="administrator" placeholder="用户名" />
            <br>
            <input type="password" id="input-password" name="input-password" value="" placeholder="密码" />
            <input id="login-btn" class="btn btn-primary" type="button" value="登录" onclick="User.Login()" />
            <input type="hidden" id="hdUrl" value="@ViewBag.ReferrerUrl" />
        </div>
    </div>

    @*<footer>版权所有 Copyright © 北京东方国凯工业装备有限公司 京ICP备2021006777号</footer>*@

    <script src="/Theme/plugins/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="/Theme/plugins/jbox-v2.3/jBox/jquery.jBox-2.3.min.js"></script>
    <script src="/Theme/customer/Git.Framework.Common.js?t=@Guid.NewGuid().ToString()"></script>
    <script src="/Theme/customer/Git.Framework.Login.js?t=@Guid.NewGuid().ToString()"></script>
</body>

</html>